<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<div class="header">
	<div class="header-top">
		<div class="header-pic-box">
			<#if userImage ??><a href="<%=ctx%>/index.do"><img class="header-pic" src="<%=resources%>/upload/image/${userImage}"></a></#if>
		</div>
		<div class="header-message">
			<span>欢迎来到伊斯特曼棱的博客~~</span>
		</div>
	</div>

	<div class="header-nav-box">
	<a href="<%=ctx%>/index.do">
		<div class="header-nav">
			<span>首页</span>
			<div class="nav-en">Index</div>
		</div>
		</a>
	<#list lc as c>
		<a href="<#if c.linkUrl ?? && c.linkUrl !=''>${c.linkUrl}<#else><%=ctx%>/category/${c.id}.do</#if>">
		<div class="header-nav">
			<span>${c.name}</span>
			<#if c.description ??><div class="nav-en">${c.description}</div></#if>
		</div>
		</a>
	</#list>
	<input id="ctx" value="<%=ctx%>" type="hidden"/>
	</div>
	<div class="header-search-box">
			<input type="text" placeholder="全文检索" name="param"
				class="form-control search-input" id="search-input"/>
		<button class="btn btn-default search-button" id="search-button">搜索</button>
	</div>
</div>